package com.gy.universities.dao;
import com.gy.universities.entity.StudyStudent;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudyStudentMapper {
	//根据id查询
	public StudyStudent getStudyStudentById(@Param(value = "id") String id)throws Exception;

	public List<StudyStudent>	getStudyStudentListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudyStudentCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudyStudent(StudyStudent studyStudent)throws Exception;

	public Integer updateStudyStudent(StudyStudent studyStudent)throws Exception;

	public Integer deleteStudyStudentById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudyStudent(Map<String,List<String>> params);

}
